home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et3_0-a1.lha / et3 / src / OneOfCluster.h < prev    next >
C/C++ Source or Header  |  1992-04-27  |  811b  |  34 lines

  1. #ifndef OneOfCluster_First
  2. #ifdef __GNUG__
  3. //pragma once
  4. #pragma interface
  5. #endif
  6. #define OneOfCluster_First
  7.  
  8. #include "Cluster.h"
  9.  
  10. //---- OneOfCluster ------------------------------------------------------------
  11.  
  12. class OneOfCluster: public Cluster {
  13. public:
  14.     MetaDef(OneOfCluster);
  15.     OneOfCluster(int id= cIdNone, VObjAlign a= eVObjHLeft, Point g= gPoint0, SeqCollection *cp= 0);
  16.     OneOfCluster(int id, VObjAlign a, Point g, VObject*, ...);
  17.     OneOfCluster(int id, VObjAlign a, Point g, char *, ...);
  18.     OneOfCluster(int id, VObject*, ...);
  19.     OneOfCluster(int id, char *, ...);
  20.  
  21.     void SetValue(int id);
  22.     int GetValue();
  23.     void Control(int id, int part, void *v);
  24.     
  25.     // obsolete
  26.     void SetItemOn(int id)
  27.     { SetValue(id); }
  28.     int GetCurrentItem()
  29.     { return GetValue(); }
  30. };
  31.  
  32. #endif
  33.  
  34.